import { createI18n } from 'vue-i18n'
import en from './en'
import zh from './zh'
import { getLanguage } from '@/config/global'


const lang = { en, zh }
const i18n = createI18n({
  locale: getLanguage(lang),
  messages: lang
})

export default i18n
